_package("remember_the_fruit.page");

_import("caf.ui.Page");

_class("HomePage", Page, function(){
	this._init = function(){
		_super._init.call(this);
	};
	this.create = function(parent){
		var obj = this.createTplElement(parent, "home.xml");
		this.init(obj);
		return obj;
	};
	this.init = function(){
		_super.init.apply(this, arguments);
		this.initComponents();
		this.initActionElements();
		this.initRememberTheFruit();
	};
	
	/*my code start*/
	
	this.initRememberTheFruit = function(){
		rememberTheFruit = new RememberTheFruit();
		rememberTheFruit.init();

	}
	
	/*my code end*/
	
	this.dispose = function(){
		_super.dispose.apply(this);
	};
});